package logic;

import java.util.ArrayList;
import vo.PlanVo;
import logicservice.PlanLService;

public class PlanLService_Stub implements PlanLService{

	public PlanLService_Stub(){
		
	}
	
	public ArrayList<PlanVo> getPlan(String id){
		System.out.println("get plan succeed");
		ArrayList<PlanVo> planList = new ArrayList<PlanVo>();
		planList.add(new PlanVo());
		return planList;
	}
	
	public String setPlan(ArrayList<PlanVo> pv){
		return "set plan succeed";
	}
}

class PlanView{
	public static void main(String[] args){
		PlanLService planl = new PlanLService_Stub();
		ArrayList<PlanVo> plan = planl.getPlan("0000");
		
		String plan1 = planl.setPlan(plan);
		System.out.println(plan1);
	}
}
